import request from '@/utils/request'

// 查询飞行计划执行数量
export function getFlyPlanNum(query) {
  return request({
    url: '/flight/action/list/number',
    method: 'post',
    params: query
  })
}

// 查询飞行实施计划列表(根据执行状态排序)
export function getExecutionList(data, query) {
  return request({
    // url: '/surveillance/display/execution/list',
    url: '/flight/action/list/execution',
    method: 'post',
    data,
    params: query
  })
}

// 飞行监视条件查询报警事件说明列表
export function getConditions(data, query) {
  return request({
    url: '/surveillance/event/list/conditions',
    method: 'post',
    data,
    params: query
  })
}

// 查询航线统计列表
export function getRouteList(data, query) {
  return request({
    url: '/flight/apply/list',
    method: 'post',
    data,
    params: query
  })
}